﻿using CatUtils.Utils.Currency.IoUtils;
using System;
using System.Windows.Forms;

namespace SinaImgUpload.SainTool.SinaLogin
{
    public partial class UserInfo : Form
    {
        public UserInfo()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == "" || textBox2.Text == "")
            {
                Console.WriteLine("信息不能留空");
                return;
            }
            FileHelper.WriteText(UserStaticvalue.UserFilePath, string.Format(UserStaticvalue.SinaUerModeText, textBox1.Text, textBox2.Text));
        }
    }
}